<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="templates/common.xhtml">
	
	<ui:define name="pageTitle">Welcome</ui:define>
	<ui:define name="pageHeader">Saisie d'un nouveau Pays</ui:define>

	<ui:define name="body">

		<div class="bs-docs-section">

			<div class="row">
				<div class="col-lg-6">
					<div class="well">

						<h:messages />
						<h:form class="bs-example form-horizontal">

							<fieldset>
								<legend>legende</legend>
								<div class="form-group">
									<label for="inputIdPays" class="col-lg-5 control-label">Code
										Pays</label>
									<div class="col-lg-5">
										<h:inputText class="form-control" id="inputIdPays"
											value="#{testManagedBean.vuePays.idPays}" />
									</div>
								</div>

								<div class="form-group">
									<label for="inputNomFrFr" class="col-lg-5 control-label">Nom
										pays en français</label>
									<div class="col-lg-5">
										<h:inputText class="form-control" id="inputNomFrFr"
											value="#{testManagedBean.vuePays.nomFrFr}" />
									</div>
								</div>

								<div class="form-group">
									<label for="inputNomEnGb" class="col-lg-5 control-label">Nom
										pays en anglais</label>
									<div class="col-lg-5">
										<h:inputText class="form-control" id="inputNomEnGb"
											value="#{testManagedBean.vuePays.nomEnGb}" />
									</div>
								</div>

								<div class="form-group">
									<div class="col-lg-10 col-lg-offset-2">
										<h:commandButton class="btn btn-primary" value="Ajouter Pays"
											action="#{testManagedBean.insertpays}" />
									</div>
								</div>
							</fieldset>
						</h:form>

					</div>
				</div>
				<div class="col-lg-4 col-lg-offset-1">second bloc</div>

			</div>

		</div>

	</ui:define>

</ui:composition>
</html>